{include file="public/header"/}
<form class="layui-form" action="" attr-url="{:url('admin/add')}">
<div class="layui-form-item">
    <label class="layui-form-label">账号:</label>
    <div class="layui-input-inline">
        <input type="text" name="account" required lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">
    </div>
    <div class="layui-form-mid layui-word-aux" >必填</div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">密码:</label>
    <div class="layui-input-inline">
        <input type="password" name="pwd" placeholder="请输入密码" autocomplete="off" class="layui-input">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">真实姓名:</label>
    <div class="layui-input-inline">
        <input type="text" name="realname"  placeholder="请输入真实姓名" autocomplete="off" class="layui-input">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">电话:</label>
    <div class="layui-input-inline">
        <input type="text" name="phone" lay-verify="phone" placeholder="请输入密码" autocomplete="off" class="layui-input">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">Email:</label>
    <div class="layui-input-inline">
        <input type="text" name="email" lay-verify="email" placeholder="请输入邮箱" autocomplete="off" class="layui-input">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">QQ:</label>
    <div class="layui-input-inline">
        <input type="text" name="qq" lay-verify="number" placeholder="请输入qq" autocomplete="off" class="layui-input">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">状态</label>
    <div class="layui-input-block">
        <input type="checkbox" name="status" lay-skin="switch">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">权限</label>
    <div class="layui-input-block">
        <button type="button" class="layui-btn layui-btn-normal" onclick="xm_admin_show('选择权限','{:url('admin/admin_menus')}',500,560)">选择权限</button>
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">权限分组</label>
    <div class="layui-input-inline">
        <select name="group">
            <option value="">请选择分组</option>
            {volist name="group" id="vo"}
            <option value="{$vo->id}">{$vo->name}</option>
            {/volist}
        </select>
    </div>
</div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" type="submit" lay-submit lay-filter="formDemo">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
<script src="/static/admin/js/common.js"></script>
</body>
</html>